package com.cobra.minio.dto;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Builder;
import lombok.Data;

/**
 * @author cobra
 * @date 2021年12月13日 9:40
 */
@Data
@Builder
@ApiModel("分片URL实体")
public class ChunkUploadUrlDTO {

    @ApiModelProperty(name = "文件总分片数")
    private Integer totalChunks;

    @ApiModelProperty(name = "当前分片数")
    private Integer partNumber;

    @ApiModelProperty(name = "根据当前分片生成的上传地址")
    private String url;
}
